package com.sunny.ynhz.bean;

/**
 * Created by luao on 2017/7/19.
 */

public class LoginBean {

    /**
     * signMsg : 今日您已签到
     * data : {"id":"f8ae689d01bb4faab9057d65195d68b0","remarks":"","createDate":"2017-07-26 01:29:34","updateDate":"2017-07-26 01:29:34","loginName":"test","no":"","name":"测试账号","email":"","phone":"","mobile":"","userType":"3","loginIp":"","loginDate":"","loginFlag":"1","photo":"","sex":"","oldLoginName":"","newPassword":"","oldLoginIp":"","oldLoginDate":"","role":"","custer":"","custType":"","addvcd":"","job":"","admin":false,"roleNames":"测试人员"}
     * code : 1
     * msg : 用户名和密码正确，今日您已签到！
     */

    private String signMsg;
    private DataBean data;
    private int code;
    private String msg;
    private String token;

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getSignMsg() {
        return signMsg;
    }

    public void setSignMsg(String signMsg) {
        this.signMsg = signMsg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "LoginBean{" +
                "signMsg='" + signMsg + '\'' +
                ", data=" + data +
                ", code=" + code +
                ", msg='" + msg + '\'' +
                '}';
    }

    public static class DataBean {
        /**
         * id : f8ae689d01bb4faab9057d65195d68b0
         * remarks :
         * createDate : 2017-07-26 01:29:34
         * updateDate : 2017-07-26 01:29:34
         * loginName : test
         * no :
         * name : 测试账号
         * email :
         * phone :
         * mobile :
         * userType : 3
         * loginIp :
         * loginDate :
         * loginFlag : 1
         * photo :
         * sex :
         * oldLoginName :
         * newPassword :
         * oldLoginIp :
         * oldLoginDate :
         * role :
         * custer :
         * custType :
         * addvcd :
         * job :
         * admin : false
         * roleNames : 测试人员
         */

        private String id;
        private String remarks;
        private String createDate;
        private String updateDate;
        private String loginName;
        private String no;
        private String name;
        private String email;
        private String phone;
        private String mobile;
        private String userType;
        private String loginIp;
        private String loginDate;
        private String loginFlag;
        private String photo;
        private String sex;
        private String oldLoginName;
        private String newPassword;
        private String oldLoginIp;
        private String oldLoginDate;
        private String role;
        private String custer;
        private String custType;
        private String addvcd;
        private String job;
        private boolean admin;
        private String roleNames;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getRemarks() {
            return remarks;
        }

        public void setRemarks(String remarks) {
            this.remarks = remarks;
        }

        public String getCreateDate() {
            return createDate;
        }

        public void setCreateDate(String createDate) {
            this.createDate = createDate;
        }

        public String getUpdateDate() {
            return updateDate;
        }

        public void setUpdateDate(String updateDate) {
            this.updateDate = updateDate;
        }

        public String getLoginName() {
            return loginName;
        }

        public void setLoginName(String loginName) {
            this.loginName = loginName;
        }

        public String getNo() {
            return no;
        }

        public void setNo(String no) {
            this.no = no;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getUserType() {
            return userType;
        }

        public void setUserType(String userType) {
            this.userType = userType;
        }

        public String getLoginIp() {
            return loginIp;
        }

        public void setLoginIp(String loginIp) {
            this.loginIp = loginIp;
        }

        public String getLoginDate() {
            return loginDate;
        }

        public void setLoginDate(String loginDate) {
            this.loginDate = loginDate;
        }

        public String getLoginFlag() {
            return loginFlag;
        }

        public void setLoginFlag(String loginFlag) {
            this.loginFlag = loginFlag;
        }

        public String getPhoto() {
            return photo;
        }

        public void setPhoto(String photo) {
            this.photo = photo;
        }

        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public String getOldLoginName() {
            return oldLoginName;
        }

        public void setOldLoginName(String oldLoginName) {
            this.oldLoginName = oldLoginName;
        }

        public String getNewPassword() {
            return newPassword;
        }

        public void setNewPassword(String newPassword) {
            this.newPassword = newPassword;
        }

        public String getOldLoginIp() {
            return oldLoginIp;
        }

        public void setOldLoginIp(String oldLoginIp) {
            this.oldLoginIp = oldLoginIp;
        }

        public String getOldLoginDate() {
            return oldLoginDate;
        }

        public void setOldLoginDate(String oldLoginDate) {
            this.oldLoginDate = oldLoginDate;
        }

        public String getRole() {
            return role;
        }

        public void setRole(String role) {
            this.role = role;
        }

        public String getCuster() {
            return custer;
        }

        public void setCuster(String custer) {
            this.custer = custer;
        }

        public String getCustType() {
            return custType;
        }

        public void setCustType(String custType) {
            this.custType = custType;
        }

        public String getAddvcd() {
            return addvcd;
        }

        public void setAddvcd(String addvcd) {
            this.addvcd = addvcd;
        }

        public String getJob() {
            return job;
        }

        public void setJob(String job) {
            this.job = job;
        }

        public boolean isAdmin() {
            return admin;
        }

        public void setAdmin(boolean admin) {
            this.admin = admin;
        }

        public String getRoleNames() {
            return roleNames;
        }

        public void setRoleNames(String roleNames) {
            this.roleNames = roleNames;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "id='" + id + '\'' +
                    ", remarks='" + remarks + '\'' +
                    ", createDate='" + createDate + '\'' +
                    ", updateDate='" + updateDate + '\'' +
                    ", loginName='" + loginName + '\'' +
                    ", no='" + no + '\'' +
                    ", name='" + name + '\'' +
                    ", email='" + email + '\'' +
                    ", phone='" + phone + '\'' +
                    ", mobile='" + mobile + '\'' +
                    ", userType='" + userType + '\'' +
                    ", loginIp='" + loginIp + '\'' +
                    ", loginDate='" + loginDate + '\'' +
                    ", loginFlag='" + loginFlag + '\'' +
                    ", photo='" + photo + '\'' +
                    ", sex='" + sex + '\'' +
                    ", oldLoginName='" + oldLoginName + '\'' +
                    ", newPassword='" + newPassword + '\'' +
                    ", oldLoginIp='" + oldLoginIp + '\'' +
                    ", oldLoginDate='" + oldLoginDate + '\'' +
                    ", role='" + role + '\'' +
                    ", custer='" + custer + '\'' +
                    ", custType='" + custType + '\'' +
                    ", addvcd='" + addvcd + '\'' +
                    ", job='" + job + '\'' +
                    ", admin=" + admin +
                    ", roleNames='" + roleNames + '\'' +
                    '}';
        }
    }
}
